#pragma once
#include "Sprite.h"

class CScrollNum : public CSprite
{
public:
	CScrollNum(void);
	~CScrollNum(void);

	virtual void Render(CDC *pDC);
	virtual void OnNextFrame();

	void SetTextHeight(int nHeight) {m_nTextHeight = nHeight;};
	void SetNumber(int nNumber) {m_nNumber = nNumber;};
	void SetOldNumber(int nNumber) {m_nOldNumber = nNumber;};
    void SetColor(COLORREF crText) {m_crText = crText;};
public:
	int m_nOldNumber;
	int m_nNumber;
	int m_nTextHeight;
	int m_crText;

	static CDC g_dcTemp;
};

